﻿using Lidgren.Network;

namespace D2D2.SharedInterfaces.Networking
{
    public interface IGameMessage
    {
        GameMessageType MessageType { get; }
        long Id { get; set; }
        double MessageTime { get; set; }
        void Encode(NetOutgoingMessage message);
        void Decode(NetIncomingMessage message);
    }
}
